<!--<?php print <<<EOT
--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mvmmall 后台管理</title>
<link rel="stylesheet" type="text/css" href="images/admincp/adminmvm.css">
<link rel="stylesheet" type="text/css" media="all" href="images/admincp/calendar.css" />
<script language="javascript" src="include/javascript/common.js"></script>
<script language="javascript" src="include/javascript/admincp.js"></script>
<script language="javascript" src="include/javascript/jquery.js"></script>
<script language="javascript" src="include/javascript/jquery.blockui.js"></script>
<script type="text/javascript" src="include/javascript/calendar.js"></script>
<script language="javascript" src="language/$mm_lang/admin/lang.js"></script>
<script language="javascript" src="include/javascript/date.js"></script>
<script language="javascript">
//--------------------------------------------------ajax删除
function remove(id,url){
$("#alert_msg").html('确定要删除吗？');
$.blockUI({ message: $('#question'), css: {width: '275px' } });
$('#yes').click(function() {
up_ajax('temp',url);
 $('#r'+id).remove(); 
});
$('#no').click(function() {
$.unblockUI();
});
}
//--------------------------------------------------ajax更新
function up_ajax(div,url){
$.blockUI({ message: '<img src="images/admincp/busy.gif" /> Loading...' });
$.ajax({
   type: "POST",
   url: url,
   cache:false,
  //data: $('#pay_form :input').serialize(),
   success: function(msg){
     $('#'+div).html(msg);
   },
   complete: function() {
     $.unblockUI();
   }
});
}
<!--
EOT;
if($module!='category'){
print <<<EOT
-->
$(function(){
$("tr").addClass("trout");
$("tr").hover(function(){
$(this).removeClass();
$(this).addClass("trover");
},
function(){
$(this).addClass("trout"); 
});
});
<!--
EOT;
} print <<<EOT
-->	
</script> 
</head>
<body>
<span id="temp"></span>
<div id="question" style="display:none;cursor:default;">
        <p id="alert_msg"></p>
        <input type="button" id="yes" class="btn" value="确认" />
        <input type="button" id="no" class="btn" value="取消" />
</div>
<!--
EOT;
?>-->